Fix one timer range issue
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Dec 2008 14:12:08 +0000 (14:12 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 4 Dec 2008 14:12:08 +0000 (14:12 +0000)
commit7e3e35eed67b3b3d8be8facfb557aa4d0e38e68f
treecfe9ef62a88b478937a97555abff955017c9c063
parent2d27786f064b190fc3134af73431db713ec439cc
Fix one timer range issue

According to the timer sematic, the timer can be executed at any timer
within [expires, expires_end], however, current implementation only allow
timer to be executed after expires_end, which is not conform to the timer
semantics.

This patch fix the the SPECpower score regression (~5% downgrade)
introduced by changeset 18744 "Change timer implementation to allow
variable 'slop'"

Signed-off-by: Yu Ke <ke.yu@intel.com>
xen/common/timer.c